<!-- 订单状态 -->
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>订单</title>
    <link rel="stylesheet" href="css/common.css">
    <link rel="stylesheet" href="css/header.css">
    <link rel="stylesheet" href="css/popBox.css">
    <link rel="stylesheet" href="css/order.css">
    <link rel="stylesheet" href="css/emptyMsg.css">


    <!-- fontawesome字体 -->
    <link rel="stylesheet" href="font/font-awesome.min.css">
</head>

<body>
    <!-- 头部 -->
    <div id="header">
        <div class="headerBox">
            <ul class="headerBox_left">
                <li class="activate_font"><a href="index.html" class="activate_font">书瞳</a></li>
                <li><a href="login.html">登录</a></li>
                <li><a href="register.html">注册</a></li>
            </ul>

            <ul class="headerBox_right">
                <li><a href="star.html"><i class="fa fa-star activate_font"></i>&nbsp;&nbsp;收藏</a></li>
                <li><a href="cart.html"><i class="fa fa-cart-plus activate_font"></i>&nbsp;&nbsp;购物车</a></li>
                <li class="my">
                    <div>我的&nbsp;&nbsp;<i class="fa fa-caret-left activate_font"></i></div>
                    <ul class="mylist">
                        <li><a href="order.html">订单</a></li>
                        <li><a href="consignee.html">收货地址</a></li>
                        <li><a href="#" class="changePwd">修改密码</a></li>
                    </ul>

                </li>
            </ul>
        </div>

        <!-- 修改密码隐藏框 -->
        <!-- 编辑弹出框 -->
        <div class="outsideLayer" style="display: none;"></div>
        <div id="pwd" class="popBox" style="display: none;">
            <div class="popTitle">
                <span>修改密码</span>
                <span><a href="#" class="dropPop">×</a></span>
            </div>
            <div class="popContent">
                <div class="popItem">
                    <span>新密码</span>
                    <div>
                        <input type="password" />
                    </div>
                </div>
                <div class="popItem">
                    <span>确认密码</span>
                    <div>
                        <input type="password">
                    </div>
                </div>

            </div>
            <div class="popBtn">
                <button class="ok" id="pwdok">确认修改</button>
                <button class="cancel dropPop">取消</button>
            </div>
        </div>
    </div>

    <div id="order">
        <!-- 筛选条件 -->
        <div class="orderSearch">
            <div class="orderSearchItem">
                <label for="">开始：</label>
                <input type="date" class="datePicker">
            </div>
            <div class="orderSearchItem">
                <label for="">结束：</label>
                <input type="date" class="datePicker">
            </div>
            <div class="orderSearchItem">
                <label for="">总金额不低于：</label>
                <input type="number" value="0" min="0" max="9999">
            </div>

            <div class="orderSearchItem">
                <label for="">订单类型：</label>
                <select name="" id="">
                    <option value="">不限</option>
                    <option value="">未付款</option>
                    <option value="">未发货</option>
                    <option value="">已发货</option>
                    <option value="">未评价</option>
                    <option value="">已完成</option>
                </select>
            </div>

            <div class="orderSearchItem">
                <input type="text" placeholder="书籍关键字">
            </div>
            <button class="orderSearchBtn">&#xf002</button>
        </div>

        <!-- 订单内容 -->
        <div class="orderContent">

            <!-- 一个订单 -->
            <div class="orderBox">
                <div class="row">
                    <p>
                        <span>订单编号：</span>
                        <span>XY123456</span>
                    </p>
                    <p>
                        <span>下单时间：</span>
                        <span>2020-06-07 23:06:42</span>
                    </p>
                    <p><i class="fa fa-trash-o" aria-hidden="true"></i></p>
                </div>
                <div class="row">
                    <p>
                        <span>总金额：</span>
                        <span class="activate_font">123.99</span>
                    </p>
                    <p>
                        <span>支付方式：</span>
                        <span>微信支付</span>
                    </p>
                </div>
                <div class="row">
                    <p>
                        <span>收货人：</span>
                        <span>刘强</span>
                    </p>
                </div>
                <div class="row address">
                    <p>
                        <span>收货地址：</span>
                        <span>广东省佛山市南海区华南师范大学</span>
                    </p>
                </div>

                <!-- 未付款、未评价、已完成 -->
                <div class="row">
                    <p>
                        <span>订单状态：</span>
                        <span class="activate_font">未付款</span>
                    </p>
                </div>

                <div class="orderShop">
                    <ul class="orderShopBox">
                        <li class="jcstart f333"><img src="image/1.jpg" alt=""><span class="mt12">算法导论</span></li>
                        <li class="mt12">￥18.80</li>
                        <li class="mt12">×1</li>
                        <li class="f333 mt12">￥18.80</li>
                    </ul>
                    <ul class="orderShopBox">
                        <li class="jcstart f333"><img src="image/1.jpg" alt=""><span class="mt12">算法导论</span></li>
                        <li class="mt12">￥18.80</li>
                        <li class="mt12">×1</li>
                        <li class="f333 mt12">￥18.80</li>
                    </ul>
                </div>
            </div>

            <!-- 一个订单 -->
            <div class="orderBox">
                <div class="row">
                    <p>
                        <span>订单编号：</span>
                        <span>XY123456</span>
                    </p>
                    <p>
                        <span>下单时间：</span>
                        <span>2020-06-07 23:06:42</span>
                    </p>
                    <p><i class="fa fa-trash-o" aria-hidden="true"></i></p>
                </div>
                <div class="row">
                    <p>
                        <span>总金额：</span>
                        <span class="activate_font">123.99</span>
                    </p>
                    <p>
                        <span>支付方式：</span>
                        <span>微信支付</span>
                    </p>
                </div>
                <div class="row">
                    <p>
                        <span>收货人：</span>
                        <span>刘强</span>
                    </p>
                </div>
                <div class="row address">
                    <p>
                        <span>收货地址：</span>
                        <span>广东省佛山市南海区华南师范大学</span>
                    </p>
                </div>

                <!-- 未付款、未评价、已完成 -->
                <div class="row">
                    <p>
                        <span>订单状态：</span>
                        <span class="activate_font">未付款</span>
                    </p>
                </div>

                <div class="orderShop">
                    <ul class="orderShopBox">
                        <li class="jcstart f333"><img src="image/1.jpg" alt=""><span class="mt12">算法导论</span></li>
                        <li class="mt12">￥18.80</li>
                        <li class="mt12">×1</li>
                        <li class="f333 mt12">￥18.80</li>
                    </ul>
                    <ul class="orderShopBox">
                        <li class="jcstart f333"><img src="image/1.jpg" alt=""><span class="mt12">算法导论</span></li>
                        <li class="mt12">￥18.80</li>
                        <li class="mt12">×1</li>
                        <li class="f333 mt12">￥18.80</li>
                    </ul>
                </div>
            </div>
        </div>

        <!-- 无订单时显示 -->
        <div id="empty" style="display: none;">
            <img src=" image/empty.png" alt="">
            <div>
                <h4 class="tit">没有订单哦！</h4>
                <p class="msg"><a href="index.html" class="activate_font">去随便逛逛吧，</a>看有没有喜欢的</p>
            </div>
        </div>


        <!-- 页码 -->
        <div class="page"></div>
    </div>

    <!-- js代码 -->
    <script src="js/jquery-1.8.3.min.js"></script>
    <script src="js/header.js"></script>
    <script>
        $(function () {

            // 初始化date为当前日期
            var time = new Date();
            var day = ("0" + time.getDate()).slice(-2);
            var month = ("0" + (time.getMonth() + 1)).slice(-2);
            var today = time.getFullYear() + "-" + (month) + "-" + (day);
            $('.datePicker').val(today);
        });
    </script>
</body>

</html>